package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.MineVideo;

/**
 * 视频Service接口
 * 
 * @author ruoyi
 * @date 2025-01-14
 */
public interface IMineVideoService 
{
    /**
     * 查询视频
     * 
     * @param videoId 视频主键
     * @return 视频
     */
    public MineVideo selectMineVideoByVideoId(Long videoId);

    /**
     * 查询视频
     *
     * @param trainingId 视频主键
     * @return 视频
     */
    List<MineVideo> selectMineVideoListByTrainingId(Long trainingId);

    /**
     * 查询视频列表
     * 
     * @param mineVideo 视频
     * @return 视频集合
     */
    public List<MineVideo> selectMineVideoList(MineVideo mineVideo);

    /**
     * 新增视频
     * 
     * @param mineVideo 视频
     * @return 结果
     */
    public int insertMineVideo(MineVideo mineVideo);

    /**
     * 修改视频
     * 
     * @param mineVideo 视频
     * @return 结果
     */
    public int updateMineVideo(MineVideo mineVideo);

    /**
     * 批量删除视频
     * 
     * @param videoIds 需要删除的视频主键集合
     * @return 结果
     */
    public int deleteMineVideoByVideoIds(Long[] videoIds);

    /**
     * 删除视频信息
     * 
     * @param videoId 视频主键
     * @return 结果
     */
    public int deleteMineVideoByVideoId(Long videoId);
}
